<template>
  <q-page style="font-size: 16px; margin-top: 150px; margin-bottom: 150px">
    <ResponsiveContainer style="max-width: 1000px">
      <h1 style="font-size: 32px; font-weight: bold; margin: 0">
        Comparing Obsidian and DeepNotes
      </h1>

      <Gap style="height: 4px" />

      <div style="color: rgba(255, 255, 255, 0.7); font-size: 14px">
        Dec 17, 2023
      </div>

      <Gap style="height: 56px" />

      <div style="max-width: 600px">
        <p>
          <b>Obsidian</b> is a note-taking application first released by Shida
          Li and Erica Xu in 2020 that works with Markdown files. It is similar
          to DeepNotes, especially after the introduction of Obsidian Canvas in
          2022.
        </p>

        <p>
          Both are designed for deep interlinking and nesting of notes. But,
          while Obsidian focuses on adaptability, DeepNotes is more opinionated
          in its approach.
        </p>

        <p>Here is a detailed comparison of their features:</p>

        <Gap style="height: 72px" />
      </div>

      ✅ Win <InlineGap style="width: 4px" /> ✴️ Neutral
      <InlineGap style="width: 4px" /> ❌ Loss

      <Gap style="height: 12px" />

      <table>
        <tr>
          <th style="width: 200px">Features</th>
          <th style="width: 400px">Obsidian</th>
          <th style="width: 400px">DeepNotes</th>
        </tr>

        <tr>
          <td style="font-weight: bold">Open source</td>
          <td>❌ Obsidian is not open source.</td>
          <td>
            ✅ DeepNotes is fully open source. Its code is available
            <a
              href="https://github.com/DeepNotesApp/DeepNotes"
              target="_blank"
            >
              here</a
            >.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Extensibility</td>
          <td>✅ Obsidian has support for extensibility through plugins.</td>
          <td>❌ DeepNotes doesn't support extensions.</td>
        </tr>

        <tr>
          <td style="font-weight: bold">Canvas flexibility</td>
          <td>
            ❌ Notes that can be colored and linked with arrows, but can't be
            nested or collapsed. (With plugins maybe?)
          </td>
          <td>
            ✅ DeepNotes offers very flexible notes as a differentiator. Each
            note can have a head and a body, and can also be nested, collapsed,
            colored and linked with arrows.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Page navigation</td>
          <td>
            ✴️ Obsidian allows to navigate through its pages using the file
            system, links between pages, or through file search.
          </td>
          <td>
            ✴️ One of the differentiators of DeepNotes is its unique page
            navigation system, which keeps track of the last path taken to reach
            each page. This allows the user to automatically build their page
            hierarchy by simply creating and navigating through their pages.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">
            WYSIWYG<br />(What You See Is What You Get)
          </td>
          <td>
            ❌ Obsidian Canvas isn't WYSIWYG (With plugins maybe?). What you see
            during editing differs from the final visual product. Obsidian
            (non-canvas) is WYSIWYG though.
          </td>
          <td>
            ✅ DeepNotes is WYSIWYG. What you see during editing is the final
            visual product.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Offline editing</td>
          <td>✅ Obsidian supports note editing while offline.</td>
          <td>
            ❌ DeepNotes currently doesn't support note editing while offline.
            This is due to technical challenges regarding data synchronization.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Realtime collaboration</td>
          <td>
            ❌ Obsidian doesn't support realtime collaboration. The closest
            thing available is file syncing, but you must be careful with
            conflicts and data loss. Syncing takes a few seconds to complete.
          </td>
          <td>
            ✅ DeepNotes supports true realtime collaboration. Users editing the
            same page can see each other's names and what they're doing.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Text search</td>
          <td>
            ✅ Obsidian offers high performance text search across all pages,
            possible thanks to its offline-first approach.
          </td>
          <td>
            ❌ DeepNotes currently only offers text search within the current
            page.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Pricing</td>
          <td>
            ✴️ Obsidian is free for the base product. It offers two paid
            add-ons: Obsidian Sync and Obsidian Publish, each separately costing
            $8/year or $10/month.
          </td>
          <td>
            ✴️ DeepNotes offers 50 personal pages for free. It has a Pro plan,
            which costs $3.99/year or $4.99/month, and offers unlimited pages
            and collaborative groups.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Security</td>
          <td>
            ✅ Obsidian offers end-to-end encryption through Obsidian Sync.
          </td>
          <td>✅ DeepNotes offers end-to-end encryption by default.</td>
        </tr>

        <tr>
          <td style="font-weight: bold">Publishing</td>
          <td>✅ Obsidian supports publishing through Obsidian Publish.</td>
          <td>
            ✅ DeepNotes supports publishing through public groups, which are
            included in the Pro plan.
          </td>
        </tr>

        <tr>
          <td style="font-weight: bold">Graph view</td>
          <td>✅ Obsidian offers a graph view displaying all of its pages.</td>
          <td>❌ DeepNotes doesn't offer a graph view.</td>
        </tr>

        <tr>
          <td style="font-weight: bold">Themes</td>
          <td>
            ✅ Obsidian supports light and dark themes by default. It also
            supports themes created by the community.
          </td>
          <td>❌ DeepNotes offers only a dark theme for now.</td>
        </tr>
      </table>

      <Gap style="height: 48px" />

      <h2 style="font-size: 28px; font-weight: bold">Conclusion</h2>

      <Gap style="height: 16px" />

      <div style="max-width: 600px">
        <p>
          Obsidian and DeepNotes are both great note-taking and personal
          knowledge management apps. Each is really good at what it does.
          Obsidian is great at managing and linking information utilizing
          Markdown files, canvases, and its plugin ecosystem, while DeepNotes
          has a canvas-first approach, and innovates with its page navigation
          system and extremely flexible notes.
        </p>

        <p>
          Ultimately, the choice between Obsidian and DeepNotes boils down to
          personal preference and the specific features that align with your
          workflow and note-taking style.
        </p>

        <Gap style="height: 42px" />

        <p>
          If you're interested in exploring DeepNotes, you can
          <router-link :to="{ name: 'register' }">try it for free</router-link>.
        </p>
      </div>
    </ResponsiveContainer>
  </q-page>
</template>

<script setup lang="ts">
const description =
  'A detailed comparison of Obsidian and DeepNotes, two note-taking apps with a focus on deep interlinking and nesting of notes.';

useMeta(() => ({
  title: 'Comparing Obsidian and DeepNotes',

  meta: {
    description: { name: 'description', content: description },
  },
}));
</script>

<style lang="scss" scoped>
table {
  border-collapse: collapse;

  width: 100%;

  th,
  td {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);

    vertical-align: top;
  }
}
</style>
